package cn.t.modules.scheduler.core.schedule.repository.po;

import cn.t.modules.scheduler.common.enums.ScheduleStatus;
import cn.t.modules.scheduler.common.enums.ScheduleType;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * @author 陶敏麒
 * @date 2024/3/6 15:51
 */
@TableName("schedule")
@Getter
@Setter
public class SchedulePo {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String scheduleId;

    private String scheduleName;

    private long execTimeTs;

    private int version;
    private ScheduleStatus status;

    private String content;

    private ScheduleType type;
    private String desc;
    private String src;
    private String createTime;
    private String updateTime;
}
